//
//  DetailImageView.h
//  Mooker
//
//  Created by hua zhang on 3/14/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PicModel.h"

@class DetailImageView;
@protocol DetailImageViewDelegate <NSObject>
@optional
- (void)closeDetailImageView:(DetailImageView *)detailImageView;
- (void)willEnterOtherView:(DetailImageView *)detailImageView;
- (void)detailImageViewShowMenu:(BOOL)show;
- (void)detailImageView:(DetailImageView *)detailImageView forwardPicture:(UIImage*)image singlePic:(SinglePic *)singlePic;
@end


@interface DetailImageView : UIView

@property (nonatomic, assign) id<DetailImageViewDelegate> delegate;
@property (nonatomic, assign) UIViewController *viewController;

- (void)setContentWithSources:(NSArray *)sources picture:(PicModel *)picture fromSubject:(BOOL)fromSubject;
@end
